package com.imooc.shoufang.repository;

import com.imooc.shoufang.entity.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by zghgchao 2018/1/14 22:17
 */
public interface UserRepository extends CrudRepository<User,Long> {

    User findByName(String name);
}
